* {
    box-sizing: border-box;
}

// 输入框
input {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
}

// 输入框
.inputBox {
    width: 100%;
    height: 40px;
    border: 1px solid #DCDCDC;
    padding: 0.2rem 1rem;
    padding-right: 0.2rem;
    border-radius: 20px;
    margin: 1.2rem 0;
    display: flex;
    
    .code {
        cursor: pointer;
        font-size: 12px;
        color: #fff;
        border-radius: 20px;
        width: 30%;
        height: 100%;
        background-color: #2d6eff;
        text-align: center;
        line-height: 30px;
        
        &:hover {
            background-color: #1d83ff;
        }
    }
}

// 按钮
.loginBtn {
    cursor: pointer;
    width: 100%;
    height: 40px;
    border: 1px solid #2d6eff;
    background-color: #2d6eff;
    text-align: center;
    color: #fff;
    line-height: 35px;
    border-radius: 20px;
    margin: 1.2rem 0;
    
    &:hover {
        border: 1px solid #1d83ff;
        background-color: #1d83ff;
    }

}

.header {
    width: 100%;
    height: 80px;
    background-color: white;

    .header-content {
        width: 1166px;
        height: 100%;
        margin: 0 auto;

        .content {
            position: relative;
            top: 40px;
            display: flex;
            justify-content: space-between;
            width: 100%;

            .content-left {
                display: flex;

                .tags {
                    margin-left: 29px;
                    display: flex;

                    .item {
                        height: 40px;
                        margin-right: 52px;
                        font-size: 14px;
                        font-weight: Medium;
                        cursor: pointer;
                    }

                    .active {
                        font-weight: Bold;
                        color: #2D6EFF;
                        border-bottom: 2px solid #2D6EFF;
                    }
                }
            }

            .content-right {
                display: flex;
                .search {
                    width: 316px;
                    height: 28px;
                    background-color: #F6F6F6;
                    border-radius: 4px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    input {
                        width: 300px;
                        height: 100%;
                        outline: none;
                        border: none;
                        background-color: #F6F6F6;
                        margin-left: 10px;
                    }

                    i {
                        margin-right: 10px;
                    }
                }
                .user{
                    width: 140px;
                    height: 28px;
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    font-size: 13px;
                    color: #8D8D8D;
                    i{
                        margin-left: 39px;
                    }
                }
                .userhead {
                    width: 35px;
                    height: 35px;
                    overflow: hidden;
                    border-radius: 50%;
                    margin-left: 20px;
                }
            }
        }
    }
    
    // 模态框
    .loginMoudle {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 99999;
        display: none;
        
        .loginTable{
            width: 382px;
            // height: 370px;
            border-radius: 16px;
            position: fixed;
            left: calc((100vw - 382px)/2);
            top: calc((100vh - 370px)/2);
            background-color: #fff;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 1rem;
            
            .logintop {
                width: 100%;
                height: 10%;
                font-size: 30px;
                color: #cecece;
            }
            
            
            // 登录 注册
            .login {
                width: 100%;
                height: 90%;
                
                .chooseWay {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    font-size: 17px;
                    
                    .loginIn,.goRegister {
                        color: #8D8D8D;
                    }
                    
                    .loginInActive,.goRegisterActive {
                        color: #2D6EFF;
                    }
                }
                
                .aboutPass {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    
                    .forgetPass {
                        cursor: pointer;
                        color: #8D8D8D;
                        &:hover {
                            color: #2D6EFF;
                        }
                    }
                }
                
                .wechatLogin {
                    width: 100%;
                    height: 48px;
                    display: flex;
                    justify-content: center;
                    
                    .wechatBtn {
                        cursor: pointer;
                        width: 48px;
                        height: 48px;
                    }
                }
            }
            
            // 找回密码
            .findPass {
                width: 100%;
                // background-color: #0ff;
                
                .chooseWay {
                    width: 100%;
                }
            }
            
            // 微信登陆
            .weChat {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
            }
                
            // 兴趣选择
            .findLike {
                width: 100%;
                
                .likes {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    
                    .like {
                        cursor: pointer;
                        // width: 76px;
                        height: 30px;
                        background: rgba(240,240,240,1);
                        border-radius: 15px;
                        text-align: center;
                        padding: 5px 20px;
                        margin: 0.8rem;
                        
                        // &:hover {
                        //     color: #fff;
                        //     background-color: #2D6EFF;
                        // }
                    }
                    
                }
            }
            
        }
    }
    
    
}